import { createApp } from 'vue'
import App from './App.vue'

import Icon from '@lin-lin/components/icon'
import '@lin-lin/theme-chalk/src/index.scss'
import Tree from '@lin-lin/components/tree'
import  Checkbox  from '@lin-lin/components/checkbox'
import Button from '@lin-lin/components/button'
import Input from '@lin-lin/components/input'

const plugins = [
  Icon,
  Tree,
  Checkbox,
  Button,
  Input
]
const app = createApp(App)
plugins.forEach(plugin => app.use(plugin))//将组件注册成全局组件，可以直接使用
app.mount('#app')
